# 代码实现菲波那切数列
def solveFibonacciSeries(num):
    if num <= 2:
        return 1
    else:
        return solveFibonacciSeries(num - 1) + solveFibonacciSeries(num - 2)


num = int(input("输入月数:\t\n"))
resolve = solveFibonacciSeries(num)
print(resolve)
